package org.edu.modules.sbzc.fund.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-设备资产报废表
 */
@TableName("ve_sbzc_zc_retire")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="设备资产报废表对象", description="ve_sbzc_zc_retire")
public class VeSbzcZcRetire extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "资产ID")
    private Integer assetId;

    @TableField
    @ApiModelProperty(value = "资产编码")
    private String assetCode;

    @TableField
    @ApiModelProperty(value = "资产名称")
    private String assetName;

    @TableField
    @ApiModelProperty(value = "所属部门")
    private Integer deptOwn;

    @TableField
    @ApiModelProperty(value = "报废日期")
    private String retireDate;

    @TableField
    @ApiModelProperty(value = "报废申请人")
    private String retireUserId;

    @TableField
    @ApiModelProperty(value = "报废申请人姓名")
    private String retireUserName;

    @TableField
    @ApiModelProperty(value = "批准人")
    private String checkUserId;

    @TableField
    @ApiModelProperty(value = "批准人姓名")
    private String checkUserName;

    @TableField
    @ApiModelProperty(value = "创建时间")
    private Integer createTime;

    @TableField
    @ApiModelProperty(value = "备注")
    @Length(max = 500)
    private String remark;
}
